package com.ddwl.order.dao.model;

import com.ddwl.common.dao.model.BaseModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * (SecondKillOrder)表实体类
 *
 * @author zach
 * @since 2020-10-29 11:49:06
 */
@Getter
@Setter
@Table(name = "second_kill_order")
public class SecondKillOrder extends BaseModel {
    /**
     * 用户ID
     */     
    private String userId;
    /**
     * 订单ID
     */     
    private String orderNo;
    /**
     * 秒杀活动ID
     */     
    private String seckillId;
    /**
     * 秒杀商品ID
     */     
    private String seckillSkuCode;
    /**
     * 订单创建状态(0创建,10已提交订单,20成功,30失败)
     */     
    private Integer creStatus;
    /**
     * 商品单价
     */     
    private BigDecimal skuPrice;
    /**
     * 商品件数
     */
    private Integer skuQty;
}